﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Database_Ass1_2013
{
    class Member
    {
        #region attributes
            private int memberID;
            private string firstName;
            private string surname;
            private string telNo;
            private string emailAddress;
            private string role;            
        #endregion


        #region constructors
            public Member()
            {
                memberID = 0;
                firstName = "";
                surname = "";
                telNo = "";
                emailAddress = "";
                role = "";
            }

            public Member(int mID, string fName, string sName, string tNo, string eAdd, string rl)
            {
                memberID = mID;
                firstName = fName;
                surname = sName;
                telNo = tNo;
                emailAddress = eAdd;
                role = rl;
            }            
        #endregion


        #region Create, Delete & Update methods
            // here will be put the three methods to manage the uni members
        #endregion

            #region getters & setters
            public int MemberID
            {
                get { return memberID; }
                set { memberID = value; }
            }

            public string FirstName
            {
                get { return firstName; }
                set { firstName = value; }
            }

            public string Surname
            {
                get { return surname; }
                set { surname = value; }
            }

            public string TelNo
            {
                get { return telNo; }
                set { telNo = value; }
            }

            public string EmailAddress
            {
                get { return emailAddress; }
                set { emailAddress = value; }
            }

            public string Role
            {
                get { return role; }
                set { role = value; }
            }
        #endregion
    }
}
